package com.olddriver.crm.service;

import com.olddriver.crm.domain.Employee;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.QueryObject;

import java.util.List;

public interface IEmployeeService{

    void insert(Employee employee);

    void update(Employee employee);

    List<Employee> listAll(QueryObject qo);

    PageResult query(QueryObject qo);

    void updateState(Boolean state,Long id);

    List<Employee> selectAllEmployees();

    Employee findById(Long id);

    public void updateProfile(Employee employee);
}
